/**
 * @desc: APP页接口
 * @author xiongyi
 * @date 2022/6/21
 */
import request from '@/assets/common/js/utils/request';
/**
 * @description 获取用户信息
 * @param not
 * @return not
 * @author hanzheng 2022-02-08 16:01:18
 **/
export function getUser() {
	return request({
		url: 'home/yhxx',
		method: 'get',
	});
}
/**
 * @description 获取token详情
 * @param not
 * @return not
 * @author hanzheng 2022-02-08 16:01:18
 **/
 export function getTokenDetail(data) {
	return request({
		url: 'home/tokenDetail',
		method: 'get',
        params: data,
	});
}
/**
 * @description 获取新的token详情
 * @param not
 * @return not
 * @author hanzheng 2022-02-08 16:01:18
 **/
 export function getTokenRefresh(data) {
	return request({
		url: 'home/refresh',
		method: 'get',
        params: data,
	});
}
/**
 * @description 获取菜单信息
 * @param not
 * @return not
 * @author hanzheng 2022-02-08 16:01:18
 **/
export function getMenu() {
	return request({
		url: 'home/menu',
		method: 'get',
	});
}
